package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.StockDrugTrans;
import com.zshan.clinic.database.model.StockDrugTransExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StockDrugTransMapper extends SuperMapper {
    long countByExample(StockDrugTransExample example);

    int deleteByExample(StockDrugTransExample example);

    int deleteByPrimaryKey(Long transId);

    int insert(StockDrugTrans row);

    int insertSelective(StockDrugTrans row);

    List<StockDrugTrans> selectByExample(StockDrugTransExample example);

    StockDrugTrans selectByPrimaryKey(Long transId);

    int updateByExampleSelective(@Param("row") StockDrugTrans row, @Param("example") StockDrugTransExample example);

    int updateByExample(@Param("row") StockDrugTrans row, @Param("example") StockDrugTransExample example);

    int updateByPrimaryKeySelective(StockDrugTrans row);

    int updateByPrimaryKey(StockDrugTrans row);
}